//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import com.baidu.trace.a.b;
import com.baidu.trace.a.e;
import com.baidu.trace.c.g;
import java.util.ArrayList;
import java.util.Iterator;
import org.json.JSONObject;

public final class c implements g {
    private static ArrayList<e> a = null;

    public final void a() {
        if(a == null) {
            a = new ArrayList();
        }

        TraceJniInterface.a().clearAttributeData();
        Iterator var1 = a.iterator();

        while(var1.hasNext()) {
            e var2 = (e)var1.next();
            TraceJniInterface.a().addAttributeData(var2.a, var2.b);
        }

    }

    public final void a(JSONObject var1) {
        new b();
        bc.a();
        bc.b();
    }

    protected static void b() {
        if(a != null) {
            a.clear();
            a = null;
        }

    }
}
